<template>
  <div>
    <h1>Grandson</h1>
    {{name}}
    {{age}}
    {{getData2()}}
  </div>
</template>

<script>
export default {
    name:'Grandson',
    props:['name','age','getData2',],
    mounted() {
        this.$emit('abc')
    },
}
</script>

<style>

</style>